package com.leyou.domain.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.leyou.domain.db1entity.TableCell;
import com.leyou.domain.db1entity.TurnTableActivity;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @Author lixin
 * @Date 2018/11/13 15:41
 * @Version 1.0
 * @Description TODO
 **/
public class TablePutVO extends TurnTableActivity implements Serializable {

    //转盘格子列表
    @JSONField(name = "table_cell_list")
    private List<TableCell> tableCellList;

    @NotNull(message = "转盘条件不能为空")
    @JSONField(name = "condition_put_vo")
    private ConditionPutVO conditionPutVO;

    private String username;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public List<TableCell> getTableCellList() {
        return tableCellList;
    }

    public void setTableCellList(List<TableCell> tableCellList) {
        this.tableCellList = tableCellList;
    }

    public ConditionPutVO getConditionPutVO() {
        return conditionPutVO;
    }

    public void setConditionPutVO(ConditionPutVO conditionPutVO) {
        this.conditionPutVO = conditionPutVO;
    }
}
